package com.qst.crop.service;

import com.github.pagehelper.PageInfo;
import com.qst.crop.entity.Order;
import com.qst.crop.entity.Question;

import java.util.List;


public interface QuestionService {

    PageInfo<Question> findAllQues(Integer pageNum);

    PageInfo<Question> findPageQues(String keys,Integer pageNum);

    Question selectId(Integer id);

    int add(Question question);


    List<Question> selectByKindAsUser(String username);
    List<Question> selectByKindAsExport(String username);


    int update(Question question);

    int delById(Integer id);
}
